<div id="vtns_menu_bottom">
	<div class="vtns_menu_bottom_wrapper">
    	<?php
			if (sizeof($menuBottoms) > 0)
			{
				if (sizeof($menuBottoms) > 1)
				{
					$count = 0;
					foreach ($menuBottoms as $menuBottom)
					{
						if (++ $count > 1) echo " | ";
					?>
                    	<a href="" style="color:#FFF;"><?=$menuBottom['name']?></a>
                    <?
					}
				}
				else {
					$menuBottom = $menuBottoms[0];
					if ($menuBottom['cms_array'])
					{
						if (sizeof($menuBottom['cms_array']) > 1) 
						{
							$count = 0;
							foreach ($menuBottom['cms_array'] as $cms_partial)
							{
								if (++ $count > 1) echo " | ";
						?>
                        	<a href="<?php echo url_for('cms/permalink?cms_category_id='.$menuBottom['cms_category_id'].'&cms_id='.$cms_partial['cms_id'].'-'.vtnsSEO::getPermalink($cms_partial['name']))?>" style="color:#FFF;"><?=$cms_partial['name']?></a>
                        <?
							}
						}
						else {
							echo $menuBottom['cms_array'][0]['name'];
						}	
					}
				}
			}
		?>
    </div>
</div>